package cn.hxh.page.mapper;

import cn.hxh.page.pojo.Link;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2020/10/6 13:00
 */
@Mapper
@Component
public interface LinkMapper {
    void addLink(Link link);

    List<Link> selectAllLink(String userId);

    void deleteId(@Param("id") int id);
}
